
var:str
var = var if var is not None else '1'

def set_var(val:str)->None:
    global var
    var = val